<?php include PATH_VIEWS . 'common/header.php'; ?>
<div class="main">
    <?php include PATH_VIEWS . 'common/left.php'; ?>
    <div class="main_right welcome_right" id="slide">
        <dl>
            <dt><h3>操作说明 <span>[关闭/展开]</span></h3></dt>
            <dd class="border">
                <span>以下红色边框的表单是必填项 。</span>
            </dd>
        </dl>
        <dl>
            <dt class="bottom">
            <h4>添加商品信息分类</h4>
            </dt>
            <dd>
                <form id="form1" name="form1" method="post" enctype="multipart/form-data" action="<?php echo URL; ?>">
                    <table class="system_envir from_demo"> 
                        <tr>
                            <td>商品分类菜单</td>
                            <td class="sanji">
                                <select name="FcateId">
                                    <option value="0">-请选择-</option>
                                    <?php foreach ($menu_list as $ls) { ?>
                                        <option value="<?php echo $ls['Fid']; ?>" <?php echo ($ls['Fid'] == $edit['FcateId']) ? "selected==selected" : ''; ?> ><?php echo $ls['Fname']; ?></option>
                                    <?php } ?>
                                </select>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>商品分类名称</td>
                            <td class="email"><input type="text" name="Fname" value="<?php echo $edit['Fname']; ?>" maxlength="16" style="width: 30%" data-rule="商品分类名称:required;length[2~16]" data-target="#tiShiSub"/></td>
                            <td id="tiShiSub">该编号用于前台程序识别，建议程序员附助设置，仅允许字母或数字，字符长度：2-16个</td>
                        </tr>

                        <tr>
                            <td></td>
                            <td class="subbtn" colspan="2">
                                <input class="ok" type="submit" name="ok" value="确认提交">
                                <a href="javascript:void(0)" class="cancel" onclick="history.back()">返回</a>
                            </td>
                        </tr>
                    </table>
                </form>
            </dd>
        </dl>
        <div id="test"></div>
    </div>
</div>
<?php include PATH_VIEWS . 'common/footer.php'; ?>